const env = process.env.NODE_ENV;
const isDev = env === "development",
  isProd = env === "production",
  isMock = env === "mock";
module.exports = {
  /**
   * @type {string} 运行环境
   */
  env,
  /**
   * @type {boolean} 运行环境判断
   */
  isDev,
  isProd,
  isMock,
  /**
   * @type {string} 系统名称
   */
  title: "管理平台",
  adminTitle: "发布管理平台",
  /**
   * @type {string} 系统LOGO
   */
  logo: "/imgs/gk_logo.png",
  /**
   *@type {string} 接口根路径，自行更改
   */
  apiRootPath: "/xinxifabu/",
  /**
   *@type {string} 路由根路径，自行更改
   */
  rootPath: "/fabu-admin/",
  /**
   * @type {string} 生产环境接口地址，如果与前端部署地址一致则留空
   */
  productionUrl: "",
  /**
   * 机房模型ip
   */
  //   devIp: "172.18.252.172",
  //   devIp: "192.168.8.152",
  devIp: "172.18.251.100",
  /**
   * 模型地址
   */
  //   devAdress: "http://160f1f7e.nat123.fun:54113",
  devAdress: "172.18.251.100:5050",
  /**
   * @type {string} 模拟环境接口地址
   */
  mockUrl: "192.168.8.116:8235/mock/23/JXVillage",
  /**
   * @type {string} 请求token 用于同步接口
   */
  mockToken: "c4f127952e5d9003c206f22ded368a4d615d3b6bd1735cd5433fb4e8e0fc3875",
  /**
   * @type {string} 测试环境接口地址
   */

  //   developmentUrl: "http://192.168.8.123:8080/cmdb"
  //   developmentUrl: "http://172.18.26.156:8112/fabu-admin"
  developmentUrl: "https://cmdb.gzopendata.com/xinxifabu"
};
